package jdos.misc;

import jdos.dos.Dos_devices;
import jdos.ints.Int10_char;
import jdos.util.IntRef;
import jdos.util.StringHelper;

public final class Program {
    public static void DosPrint(String format, Object[] args) {
        String buf = StringHelper.sprintf(format, args);
    	/*Bit16u*/int size = buf.length();
    	for(/*Bit16u*/int i = 0; i < size;i++) {
    		/*Bit8u*/byte[] out=new byte[1];/*Bit16u*/IntRef s=new IntRef(1);

            Int10_char.INT10_TeletypeOutputAttr((byte)buf.charAt(i),7,false);
            
    		//last_written_character =out[0] = ;
    		//Dos_devices.STDOUT.Write(out,s);
    	}

    }

}
